package com.aqielife.usercenter.injection.component


import com.aqielife.base.injection.PerComponentScope
import com.aqielife.base.injection.component.ActivityComponent
import com.aqielife.usercenter.injection.module.UploadModule
import com.aqielife.usercenter.injection.module.UserModule
import com.aqielife.usercenter.ui.activity.RegisterActivity
import com.aqielife.usercenter.ui.activity.ForgetPwdActivity
import com.aqielife.usercenter.ui.activity.LoginActivity
import com.aqielife.usercenter.ui.activity.ResetPwdActivity
import com.aqielife.usercenter.ui.activity.UserInfoActivity
import dagger.Component

/*
    用户模块Component
 */
@PerComponentScope
@Component(dependencies = arrayOf(ActivityComponent::class),modules = arrayOf(
    UserModule::class,
    UploadModule::class))
interface UserComponent {
    fun inject(activity: RegisterActivity)
    fun inject(activity: LoginActivity)
    fun inject(activity: ForgetPwdActivity)
    fun inject(activity: ResetPwdActivity)
    fun inject(activity: UserInfoActivity)
}
